import http from '../utils/http'



/**
 * 获取用户历史搜索记录
 */
export const reqSearchHistory = () =>{
  return http.get('/mall/searchhistory')
}

/**
 * @description 删除历史搜索
 */
export const reqSearchDelete = () =>{
  return http.delete(`/mall/delHistory`)
}